package com.sdry.model.cb;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @version: 1.0
 * @description: 异常记录
 * @author: cb
 * @create: 2019-11-27 10:34
 **/
public class AnomalyRecordsEntity extends BaseEntity implements Serializable {

    /**id*/
    private Long anomId;
    /**物料id*/
    private Long mid;
    /**单据*/
    private String  shippingDocuments;
    /**到货数量*/
    private Long  receiveNum;
    /**到货时间*/
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss",locale = "zh",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd  HH:mm:ss")
    private Timestamp receiveDate;
    /**收货数量*/
    private Long codeNum;

    /**异常描述*/
    private String anomType;
    /**状态：已处理/未处理*/
    private String anomState;
    /**
     * 用于记录供应商的物料到达仓库后，仓库实际收货时出现的单据与实物不符、不良、损坏、……等各种异常情况
     */
    private String anomRemarks;
    /**备注2*/
    private String anomRemarks2;
    /**备注3*/
    private String anomRemarks3;

    private String delFlag;

    private Long wareHouseId;


    public Long getWareHouseId() {
        return wareHouseId;
    }

    public void setWareHouseId(Long wareHouseId) {
        this.wareHouseId = wareHouseId;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Long getAnomId() {
        return anomId;
    }

    public void setAnomId(Long anomId) {
        this.anomId = anomId;
    }

    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    public String getShippingDocuments() {
        return shippingDocuments;
    }

    public void setShippingDocuments(String shippingDocuments) {
        this.shippingDocuments = shippingDocuments;
    }

    public Long getReceiveNum() {
        return receiveNum;
    }

    public void setReceiveNum(Long receiveNum) {
        this.receiveNum = receiveNum;
    }

    public Timestamp getReceiveDate() {
        return receiveDate;
    }

    public void setReceiveDate(Timestamp receiveDate) {
        this.receiveDate = receiveDate;
    }

    public Long getCodeNum() {
        return codeNum;
    }

    public void setCodeNum(Long codeNum) {
        this.codeNum = codeNum;
    }

    public String getAnomType() {
        return anomType;
    }

    public void setAnomType(String anomType) {
        this.anomType = anomType;
    }

    public String getAnomState() {
        return anomState;
    }

    public void setAnomState(String anomState) {
        this.anomState = anomState;
    }

    public String getAnomRemarks() {
        return anomRemarks;
    }

    public void setAnomRemarks(String anomRemarks) {
        this.anomRemarks = anomRemarks;
    }

    public String getAnomRemarks2() {
        return anomRemarks2;
    }

    public void setAnomRemarks2(String anomRemarks2) {
        this.anomRemarks2 = anomRemarks2;
    }

    public String getAnomRemarks3() {
        return anomRemarks3;
    }

    public void setAnomRemarks3(String anomRemarks3) {
        this.anomRemarks3 = anomRemarks3;
    }
}
